Find Tracks window

Using this window, you can search for tracks containing specific word(s) in their title or filename. When searching in titles, the track's tags will also be searched if they're available; that is if they're in the library or have been read during playback or for the Track Info window.

When multiple words are specified, they must all be present for a track to be considered a match. Words can be prefixed with '-' to require them to be absent rather than present. It is also possible to group words so that only one of the group has to be present, by joining them with '/'. For example, a search string of "a -b c/d" would mean that "a" must be present, "b" must be absent, and at least one of "c" or "d" must be present.

Phrases can be used instead of single words by enclosing them in "...".

More advanced searches are possible with the following operators:

%tag:x    tag contains x
%tag=x    tag equals x
%tag<x    tag is lower than x
%tag>x    tag is greater than x

The contains/equals options obey the "Case-sensitive" setting, while the lower/greater options are always case-insensitive. "%tag" can be one of the title formatting options in the Titles options or one of the following:

%filename
%title
artist
%album
%date
%track
%genre
%comment
%filetype
%age          (days since added to library)
%lastplay     (days since last played)
%length       (length in seconds)
%playcount    (times played)
%rating       (rating)
%size         (file size in KB)
%subsong      (separated subsong number)
%subsongs     (number of subsongs)

For example, to find MP3 and OGG files that are between 3 and 4 minutes long, with an artist tag that begins with something lower than "M", with a 5 star rating, and containing "blah" in any tag/filename (depending on the "in" setting), the search could look like this:

%filetype=mp3/%filetype=ogg %length>179 %length<241 %artist<m %rating=5 blah

When "Single phrase" is enabled, none of the processing above is performed and the search text is just treated as a phrase.

As you type the search string, or change the search options, any matches will be listed below. You can click on a match to jump to it in the playlist and/or library. Right-clicking will bring up options to play/queue/list the track(s) and view track info. Double-clicking or pressing space will also play the selected tracks.

The search results can be sorted by title or filename by clicking the column header.

Include library

Enables searching of the library for matches, as well as the playlist.

Select in list

Enables the selection of the corrseponding entries in the playlist (and library if open) when selecting tracks in the search results list.

Skip non-matching tracks

XMPlay will skip over any tracks that do not match the search criteria when playback advances.

The "Find quick" shortcut (alt+F by default) can be used to enter a search string and find matches without opening this window. The current "Single phrase" and "Case-sensitive" settings are used by that, but "Invert" is automatically disabled. The up/down keys can be used to jump to the previous/next match in the playlist or library, and the Page Up/Down keys can be used to cycle through the search history.